package com.hmall.mapper;

import com.hmall.model.XtxCommentDetail;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface XtxCommentDetailMapper extends MyMapper<XtxCommentDetail> {
    Integer selectCountByCommentId(@Param("articleCommentId") Integer articleCommentId);

    List<XtxCommentDetail> selectByCommentId(@Param("articleCommentId") Integer articleCommentId, @Param("pageStart") Integer pageStart, @Param("pageSize") Integer pageSize);
}